package com.jsj.dao;

import com.jsj.domain.Label;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface LabelDao {
    Integer insert(Label label);

    Integer delete(int id);

    Integer update(Label label);

    List<Label> queryByTeacher(String creator);

    Label queryById(int labelId);
}
